package com.springmvc.demo.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.springmvc.demo.dto.Student;
import com.springmvc.demo.service.StudentService;

/**
 * 用户管理控制器
 * @author longjuan
 * @date 2015-2-8
 * @preserve all
 */
@Controller
@RequestMapping("user")
public class StudentController extends BaseController
{
	@Resource
	StudentService adminUserService; 
	
	/**
	 * 用户登录
	 */
	@RequestMapping("login")
	@ResponseBody
	public Student login()
	{
		Student student = new Student();
		System.out.println("============");
		return student;
	}
	
	
}
